<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	
	<style type="text/css">
	*{
		margin:0px;
		padding:0px;
	}
	.top{
		width:100%; 
		height:35px; 
		line-height:35px; 
		font-size:12px;	
	}
	.top ul li{
		list-style:none;
		float:right;
		width:60px;
	}
	a{
		color:#06F;
		text-decoration:none;
	}
	a:hover{
		text-decoration:underline;
	}
	.show{
		display:block;
	}
	.hidden{
		display:none;
	}
	.show ul li{
		height:26px;
		line-height:26px;
		background:#FFF;
		padding-left:40px;
		font-size:13px;
		list-style: none;
	}
	.show ul li:hover{
		background:#EFEFEF;
	}
	.show ul li a{
		text-decoration: none;
	}
	.manager_nav{
		height:38px;
		color:#FFF;
		font-size:13px;
		font-weight:bold;
		line-height:36px;
		padding-left:12px;
		border-bottom:1px dashed #333;
	}
	table tr{
		height: 38px;
	}
	</style>
</head>

<body>
	<div style="height:35px;;width:100%;border-bottom:1px solid #CCC; z-index:-1; position:absolute; background:#EFEFEF;"></div>
	<div style="width:1200px; margin:auto;">
        <div class="top">
        	<div style="width:50%; float:left;">你好！欢迎进入中国报险网。</div>
            <div style="width:50%; float:right; text-align:right;">
				<jsp:include page="top2.jsp"></jsp:include>
            </div>
        </div>
        <div style="width:100%; height:560px;  font-family: '微软雅黑' ">
            <div style="width: 1100px; height:530px; border:1px solid #406BDD; border-radius:10px; margin:38px 60px;">   
            	<div style="width:20%; height:100%; background:#406BDD; float:left; border-top-left-radius:10px; border-bottom-left-radius:10px;">         		
            		<jsp:include page="left.jsp"></jsp:include>
            	</div>
            	<div style="width:80%; float:left; background:#EFEFEF; height:100%; border-top-right-radius:10px; border-bottom-right-radius:10px;">    
					<div style="width:95%; height:50px; background:#FFF; margin:6px auto; border:1px solid #888;"></div>
					<div style="margin:10px auto; background:#FFF; width:95%; border:1px solid #888;">
						<!-- 案件列表 -->
						<table border="0px" align="center" width="100%" cellspacing="0px">
							<tr height="50px" align="center">
								<td width="10%">权限编号</td>
								<td width="20%">权限名</td>
								<td width="20%">权限模块</td>
								<td width="20%">权限父id</td>
								<td width="30%">操作</td>
							</tr>
							<s:iterator value="#request.srList" var="sr">						
								<tr align="center">
									<td><s:property value="#sr.said"/></td>
									<td><s:property value="#sr.saname"/></td>
									<td><s:property value="#sr.samodel"/></td>
									<td><s:property value="#sr.spid"/></td>
									<td>
										<a href="${pageContext.request.contextPath }/auth/SysAuth_sysauth.action?said=<s:property value='#sr.said'/>">详情</a>							
									</td>
								</tr>
							</s:iterator>
							<tr height="50px" align="center">
								<td colspan="5">
									<a href="${pageContext.request.contextPath }/auth/SysAuth_sysallauth.action?page=1">首页</a>	
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;				
									<s:if test="#request.page > 1">
										<a href="${pageContext.request.contextPath }/auth/SysAuth_sysallauth.action?page=${page-1 }">上一页</a>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									</s:if>
									<s:if test="#request.page < #request.totalpage">
										<a href="${pageContext.request.contextPath }/auth/SysAuth_sysallauth.action?page=${page+1 }">下一页</a>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									</s:if>	
									<a href="${pageContext.request.contextPath }/auth/SysAuth_sysallauth.action?page=${totalpage }">尾页</a>	
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${totalpage }/${page }																		
								</td>
							</tr>
						</table>
					</div>
				</div> 
            </div>
        </div>
        <div style="width:100%; height:30px; text-align:center; line-height:30px; float:left; font-size:14px;">Copyright© 中国报险网 2007-2015，All Rights Reserved</div>
    </div>
</body>
</html>
